local s15__shuzhi = fk.CreateSkill {
  name = "s15__shuzhi",
  tags = { Skill.Compulsory },
}

Fk:loadTranslationTable {
  ["s15__shuzhi"] = "述志",
  [":s15__shuzhi"] = "锁定技，亮将结束后，你选择获得技能\"奸雄\"或\"清正\"",

  ["#s15__shuzhi-choose"] = "述志：请选择要获得的技能",
}

s15__shuzhi:addEffect(fk.GameStart, {
  anim_type = "special",
  priority = 2, -- 设置优先级，确保能
  can_trigger = function(self, event, target, player, data)
    return player:hasSkill(s15__shuzhi.name)
  end,
  on_use = function(self, event, target, player, data)
    local room = player.room
    local choices = { "ex__jianxiong", "s15__qingzheng" }
    local choice = room:askToChoice(player,
      { choices = choices, skill_name = s15__shuzhi.name, prompt = "#s15__shuzhi-choose" })

    -- 给玩家添加选择的技能
    if Fk.skills[choice] then
      room:handleAddLoseSkills(player, choice, nil, true, false)
    end
  end
})

return s15__shuzhi
